package com.niiwoo.civet.trade.dao.mapper;

import com.niiwoo.civet.trade.dao.entity.TianChengRequestRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TianChengRequestRecordMapperExt extends TianChengRequestRecordMapper{

	TianChengRequestRecord findProjectLastTianchengRequestRecord(Long projectId);

    TianChengRequestRecord queryTcRequestRecord(@Param("flowExecuteId") Long flowExecuteId, @Param("functionCode") String functionCode);

    List<TianChengRequestRecord> queryBatchTcRequestRecord(@Param("flowExecuteIds") List<Long> flowExecuteIds, @Param("functionCode") String functionCode);
}